import { http, ResponseData } from '../http'
import { AxiosPromise } from 'axios'
 
interface IQuery {
  page?: number;
  pageSize?: number
}
 
export const getNotification = (data: IQuery): AxiosPromise<ResponseData> => {
  return http.request({
    method: 'GET',
    url: '/v1/notification',
    data,
  })
}